from flask import Flask, render_template, redirect, url_for, request
import config
from utils.myitchat import mychat
from utils.decorators import is_login

from apps.views import bp as front_bp

app = Flask(__name__)
app.config.from_object(config)

app.register_blueprint(front_bp)

if __name__ == '__main__':

    mychat.login()

    app.run(debug=True)
